<?php echo $header; ?>

<div class="title-holder">
<div class="inner">
<div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
  </div>
<h1 class="heading_title"><span><?php echo $heading_title; ?></span></h1>  
</div>
</div>


<?php echo $content_top_fullwidth; ?>

<div id="content_wrap" class="inner main_inner"> <?php echo $column_left; ?><?php echo $column_right; ?>
  <div id="content">
  <div id="content_sections">
  <?php echo $content_top_two_third; ?>
<?php echo $content_top_one_third_last; ?>
<div class="clear"></div>
</div>
<?php echo $content_top; ?>

    <?php if ($customertestimonials) { ?>
    
      <?php foreach ($customertestimonials as $customertestimonial) { ?>

        <div class="testimoial_unit bordered">
        <?php if ($customertestimonial['rating']) { ?>
          <div class="testimoial_rating"> <img src="catalog/view/theme/METROPOLITEN/image/testimonials/stars-<?php echo $customertestimonial['rating'] . '.png'; ?>" /> </div>
          <?php } ?>
        <div class="testimonial_title"><h4><?php echo $customertestimonial['title']; ?></h4></div>
        
        <div class="testimonial_description"><?php echo $customertestimonial['description'] ; ?></div>
          
          <div class="testimoial_author_img">
          <?php if ($customertestimonial['avatar']!="") { ?>
          <img src="<?php echo $customertestimonial['avatar']; ?>">
          <?php } else { ?>
          <img src="catalog/view/theme/METROPOLITEN/image/no_avatar.jpg" />
          <?php } ?>
          </div>
          
          
          <div class="testimoial_author">
          
          <?php if ($customertestimonial['name']!="") echo $customertestimonial['name']; ?>
          </div>


        </div>


      <?php } ?>

    	<?php if ( isset($pagination)) { ?>
    		<div class="pagination"><?php echo $pagination;?></div>
    		<div class="buttons" align="right"><a class="button" href="<?php echo $write_url;?>" title="<?php echo $write;?>"><span><?php echo $write;?></span></a></div>
    	<?php }?>

    	<?php if (isset($showall_url)) { ?>
    		<div class="buttons" align="right"><a class="button" href="<?php echo $write_url;?>" title="<?php echo $write;?>"><span><?php echo $write;?></span></a> &nbsp;<a class="button" href="<?php echo $showall_url;?>" title="<?php echo $showall;?>"><span><?php echo $showall;?></span></a></div>
    	<?php }?>
    <?php } ?>
  <?php echo $content_bottom; ?>

</div>  
  <div class="clear"></div>
</div>
  <?php echo $content_bottom_fullwidth; ?>
<?php echo $footer; ?>